package com.sailfish.springbootdemo.service.db2;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db2.PcbCapacityApproveDetail;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


public interface PcbCapacityApproveDetailService {
    /*获取审批详情列表*/
    List<PcbCapacityApproveDetail> getApproveDetail(Integer id, Integer flowType);

    Result changeApprover(Integer id, Integer approveUserId);

    /*提交下一环节*/
    Result submitToNextNode(String data);

    /*退回上一环节*/
    Result backToPreNode(String data);

    /*提交归档*/
    Result submitForDocumentation(String data);

    /*创建审批流程*/
    Result createApproveTask(String data);
}
